//
//  RightHeaderView.m
//  MyProject
//
//  Created by yun on 2018/8/14.
//  Copyright © 2018年 yun. All rights reserved.
//

#import "RightHeaderView.h"

@implementation RightHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier{
    if ([super initWithReuseIdentifier:reuseIdentifier]) {
//        self.contentView.backgroundColor = [UIColor whiteColor];
        self.nameLabel = [[UILabel alloc] init];
        self.nameLabel.textColor = [UIColor grayColor];
        self.nameLabel.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:self.nameLabel];
        [self.nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(10);
            make.top.bottom.right.equalTo(self.contentView);
        }];
    }
    return self;
}

@end
